package com.x.reader.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseModel;

@MappingTable(tableName = "READER_USER")
public class User extends BaseModel {
    @MappingColumn(columnName = "USER_ID", columnLength = 32, columnPk = true)
    private String userId;

//    @MappingColumn(columnName = "USER_CODE")
//    private String userCode;

//    @MappingColumn(columnName = "USER_OPEN_ID")
//    private String userOpenId;

    @MappingColumn(columnName = "USER_NAME")
    private String userName;

    @MappingColumn(columnName = "USER_NICK_NAME")
    private String userNickName;

//    @MappingColumn(columnName = "USER_SEX")
//    private Integer userSex;

//    @MappingColumn(columnName = "USER_HEAD_IMG_URL")
//    private String userHeadImgUrl;

    @MappingColumn(columnName = "USER_MOBILE")
    private String userMobile;

    @MappingColumn(columnName = "USER_EMAIL")
    private String userEmail;

    @MappingColumn(columnName = "USER_ADDRESS")
    private String userAddress;

    //    @MappingColumn(columnName = "USER_CREATE_TIME")
//    private String userCreateTime;
//
//    @MappingColumn(columnName = "USER_UPDATE_TIME")
//    private String userUpdateTime;
    @MappingColumn(columnName = "ACCOUNT_ID")
    private String accountId;

    @MappingColumn(columnName = "ORG_ID")
    private String orgId;

    private String accountToken;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getAccountToken() {
        return accountToken;
    }

    public void setAccountToken(String accountToken) {
        this.accountToken = accountToken;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
}
